package com.dylan.channel.v6;


import com.dylan.channel.v6.ServerBootstrap;

import java.io.IOException;

public class NettyServerV6 {

    public static void main(String[] args) throws IOException, InterruptedException {
        NioEventLoopGroup bossGroup = new NioEventLoopGroup(1);
        NioEventLoopGroup workGroup = new NioEventLoopGroup(2);
        ServerBootstrap bootstrap = new ServerBootstrap();
        bootstrap.group(bossGroup, workGroup)
                .bind(8086).sync();
    }
}
